<div class="zs-body" data-ng-init="formInit('gzwjryrqxk', {
        keyField:'id',
        randomFields:['id'],
        orderObject:{id:0},
        queryObject:{wlxmlx:'1'}
    }) && loadData('gzwjryrqxk');setConHei();">
    <div class="zs-map-tool">
        <div class="location">
            <a href="javascript:;">首页</a>
            <i class="right-arr"></i>
            <a href="javascript:;">行政许可</a>
            <i class="right-arr"></i>
            <a href="javascript:;">外来科研人员入区许可</a>
        </div>
        <div class="option">
            <input type="button" class="zs-btn orange" value="新建" 
               ng-click="startNewBpm('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk');"/>
           <!-- <input type="button" class="zs-btn orange" value="编辑" 
                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('edit')"/>
            <input type="button" class="zs-btn orange" value="删除 "
                ng-click="delEntitys('gzwjryrqxk')"/>-->
            <input type="button" class="zs-btn orange" value="打印签批表"
                ng-click="printSQB('gzwjryrqxk','HtmlToPdf')"/>
            <input type="button" class="zs-btn orange" value="打印行政许可凭证"
                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkpz');"/>
            <input type="button" class="zs-btn orange" value="打印行政许可决定书"
                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkjds');"/>
            <input type="button" class="zs-btn orange" value="打印行政许可办结报告"
                ng-click="editRow('gzwjryrqxk', gzwjryrqxk.sRows[0]) && openWindow('xzxkbjbg');"/>
        </div>
    </div>
    <div class="zs-content" style="position:unset">
        <div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="唯一编号" ng-model="gzwjryrqxk.queryObject['id']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="申请编号" ng-model="gzwjryrqxk.queryObject['ssqbh']"/>
                </span>-->
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位名称" ng-model="gzwjryrqxk.queryObject['sdwmc']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目名称" ng-model="gzwjryrqxk.queryObject['sxmmc']"/>
                </span>
            	<!--<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="是否有介绍信(函)" ng-model="gzwjryrqxk.queryObject['ijsx']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="提供活动方案情况" ng-model="gzwjryrqxk.queryObject['shdfaqk']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="是否鉴定合作协议" ng-model="gzwjryrqxk.queryObject['ijdhzxy']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="协议编号" ng-model="gzwjryrqxk.queryObject['sxybh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="带队负责人" ng-model="gzwjryrqxk.queryObject['sddfzr']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="职务" ng-model="gzwjryrqxk.queryObject['szw']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="联系电话" ng-model="gzwjryrqxk.queryObject['slxdh']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="人数" ng-model="gzwjryrqxk.queryObject['srs']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_dlfsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzwjryrqxk.queryObject['dlfsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="活动计划时限" ng-model="gzwjryrqxk.queryObject['shdjhsx']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="项目简介" ng-model="gzwjryrqxk.queryObject['sxmjj']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="部门签批意见" ng-model="gzwjryrqxk.queryObject['sbmspyj']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_dbmspsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzwjryrqxk.queryObject['dbmspsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="部门签批人" ng-model="gzwjryrqxk.queryObject['sbmspr']"/>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位签批意见" ng-model="gzwjryrqxk.queryObject['sdwspyj']"/>
                </span>
				<span class="search-warpper">
                    <ag-Datebox id='qi_ddwspsj'  showcurday='true'
                       		class="zs-input" style="width:175px;height: 28px"
                       		ng-model="gzwjryrqxk.queryObject['ddwspsj']" >
				   	</ag-Datebox>
                </span>
            	<span class="search-warpper">
                    <i class="icon"></i>
                    <input type="text" class="zs-input" placeholder="单位签批人" ng-model="gzwjryrqxk.queryObject['sdwspr']"/>
                </span>-->
            </div>
            <div class="operation item">
                <a class="ope-1" ng-click="loadData('gzwjryrqxk')"></a>
                <a class="ope-2"></a>
            </div>
            <div class="switch">
                
            </div>
        </div>
        <div class="date-container">
            <div id="zpgwd">
                <div class="zs-data-table">
                    <div class="container">
                        <table>
                            <thead>
                                <tr>
                                    <th>
                                        <input id="allCheckbox" type="checkbox"
                                            ng-click="selectAll('gzwjryrqxk','allCheckbox');" />
                                    </th>
									<!--<th>唯一编号</th>
									<th>申请编号</th>-->
									<th>单位名称</th>
									<th>项目名称</th>
									<!--<th>是否有介绍信(函)</th>
									<th>提供活动方案情况</th>
									<th>是否鉴定合作协议</th>
									<th>协议编号</th>-->
									<th>带队负责人</th>
									<th>职务</th>
									<th>联系电话</th>
									<th>人数</th>
									<th>来访时间</th>
									<th>活动计划时限</th>
									<!--<th>项目简介</th>
									<th>部门签批意见</th>
									<th>部门签批时间</th>
									<th>部门签批人</th>
									<th>单位签批意见</th>
									<th>单位签批时间</th>
									<th>单位签批人</th>-->
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="r in gzwjryrqxk.datas">
                                    <td>
                                        <input type="checkbox"
                                            ng-click="selectRow('gzwjryrqxk',r);"
                                            ng-model="r.selected" />
                                    </td>
									<!--  唯一编号 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.id"></label>
                                        </a>
                                   </td>-->
									<!--  申请编号 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.ssqbh"></label>
                                        </a>
                                   </td>-->
									<!--  单位名称 -->
            						<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.sdwmc"></label>
                                        </a>
                                   </td>
									<!--  项目名称 -->
            						<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.sxmmc"></label>
                                        </a>
                                   </td>
									<!--  是否有介绍信(函) -->
            					<!--	<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.ijsx"></label>
                                        </a>
                                   </td>-->
									<!--  提供活动方案情况 -->
            					<!--	<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.shdfaqk"></label>
                                        </a>
                                   </td>-->
									<!--  是否鉴定合作协议 -->
            						<!--<td>
                                        <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.ijdhzxy"></label>
                                        </a>
                                   </td>-->
									<!--  协议编号 -->
            						<!--<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.sxybh"></label>
                                        </a>
                                   </td>-->
									<!--  带队负责人 -->
            						<td>
                                        <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.sddfzr"></label>
                                        </a>
                                   </td>
									<!--  职务 -->
            						<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.szw"></label>
                                        </a>
                                   </td>
									<!--  联系电话 -->
            						<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.slxdh"></label>
                                        </a>
                                   </td>
									<!--  人数 -->
            						<td>
                                         <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.srs"></label>
                                        </a>
                                   </td>
									<!--  来访时间 -->
								   <td>
                                        <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.dlfsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>
									<!--  活动计划时限 -->
            						<td>
                                        <a ng-click="toQueryWork('wlkyryrqxk.html','wlkyryrqxk','gzwjryrqxk','gzryrqxk',r.id);">
                                            <label ng-bind="r.shdjhsx"></label>
                                        </a>
                                   </td>
									<!--  项目简介 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.sxmjj"></label>
                                        </a>
                                   </td>-->
									<!--  部门签批意见 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.sbmspyj"></label>
                                        </a>
                                   </td>-->
									<!--  部门签批时间 -->
								   <!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.dbmspsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>-->
									<!--  部门签批人 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.sbmspr"></label>
                                        </a>
                                   </td>-->
									<!--  单位签批意见 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.sdwspyj"></label>
                                        </a>
                                   </td>-->
									<!--  单位签批时间 -->
								   <!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.ddwspsj | asDate | date:'yyyy-MM-dd'"></label>
                                        </a>
                                   </td>-->
									<!--  单位签批人 -->
            						<!--<td>
                                        <a ng-click="editRow('gzwjryrqxk',r) && openWindow('edit');">
                                            <label ng-bind="r.sdwspr"></label>
                                        </a>
                                   </td>-->
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="zs-pagination-box">
                    <ag-Page fn='gzwjryrqxk'></ag-Page>
                </div>
            </div>
        </div>

        <div ag-Window id="edit" title="外来科研人员入区许可编辑" width='800px' height='500px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<!--<tr>
                                <td class="text" width="20%">唯一编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.id" class="zs-input" />
                                </td>
                            </tr>-->
          					<!--<tr>
                                <td class="text" width="20%">申请编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.ssqbh" class="zs-input" />
                                </td>
                            </tr>-->
          					<tr>
                                <td class="text" width="20%">单位名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sdwmc" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sxmmc" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="left" width="50%" colspan="4" style="padding-left:100px">
                                	<input type="button" name="ok" value="选择项目" class="zs-btn c-green" 
                                        ng-click="openWindow('chooseProject');" />
                                    <input type="button" name="ok" value="查看项目" class="zs-btn c-green" 
                                        ng-click="cheekProject(gzwjryrqxk.editRow.xmid);" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">是否有介绍信(函)</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.ijsxName" class="zs-input" />
                                </td>
                                <td class="text" width="20%">提供活动方案情况</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.shdfaqk" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">是否鉴定合作协议</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.ijdhzxyName" class="zs-input" />
                                </td>
                                <td class="text" width="20%">协议编号</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sxybh" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">带队负责人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sddfzr" class="zs-input" />
                                </td>
                                <td class="text" width="20%">职务</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.szw" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">联系电话</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.slxdh" class="zs-input" />
                                </td>
                                <td class="text" width="20%">人数</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.srs" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">来访时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dlfsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.dlfsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">附件</td>
                                <td class="left" width="30%">
                                	<ag-Upload ng-model="gzwjryrqxk.editRow.fj" 
				                        para="{}"></ag-Upload>
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">活动计划时限</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.shdjhsx" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">项目简介</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" style="height:100px" ng-model="gzwjryrqxk.editRow.sxmjj" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">部门签批意见</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" style="height:100px" ng-model="gzwjryrqxk.editRow.sbmspyj" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">部门签批时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.dbmspsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">部门签批人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sbmspr" class="zs-input" />
                                </td>
                            </tr>
          					<tr>
                                <td class="text" width="20%">单位签批意见</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" style="height:100px" ng-model="gzwjryrqxk.editRow.sdwspyj" class="zs-input" />
                                </td>
                            </tr>
						   <tr>
                                <td class="text" width="20%">单位签批时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_ddwspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.ddwspsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">单位签批人</td>
                                <td class="left" width="30%">
                                	<input type="text" ng-model="gzwjryrqxk.editRow.sdwspr" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <table width="100%">
							<tr>
								<td colspan="5"  class="left">
									<input type="button" class="zs-btn"
									ng-click="addChildRow(gzwjryrqxk.editRow,'gzplanpersonnel')"
									value="添加" /> <input type="button" class="zs-btn"
									ng-click="delLocalRows(gzwjryrqxk.editRow.gzplanpersonnel)"
									value="删除">
								</td>
							</tr>
							<tr>
								<td style="text-align: center" class="text" width="5%">
								<input id="allCheckbox" type="checkbox"
                                        ng-click="selectAll('gzwjryrqxk.editRow.gzplanpersonnel','allCheckbox');" /></td>
								<td width="20%" class="text" style="text-align: center">人员名称</td>
								<td width="20%" class="text" style="text-align: center">人员性别</td>
								<td width="20%" class="text" style="text-align: center">人员身份证</td>
								<td width="20%" class="text" style="text-align: center">联系方式</td>
							</tr>
							<tr
								ng-repeat="r in gzwjryrqxk.editRow.gzplanpersonnel">
								<td class="center">
									<input type="checkbox"
                                        ng-click="selectRow('gzwjryrqxk.editRow.gzplanpersonnel',r);"
                                        ng-model="r.selected" /></td>
								<td><span>
										<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.yrmc" required /></td>
								<td><span>
										<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.ssex" required /></td>
								<td><span>
										<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.ssfz" required /></td>
								<td><span>
										<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.slxfs" /></td>
							</tr>
						</table>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                	<div style="text-align:center">
	                                    <input type="button" name="ok" value="保存" class="zs-btn c-red"
	                                        ng-click="formValidate(form) && saveRQXK('1','gzwjryrqxk', gzwjryrqxk.editRow)"/>
	                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
	                                        ng-click="closeWindow('edit')" />
	                                </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
        
        <div ag-Window id="xzxkpz" title="打印行政许可凭证" width='800px' height='500px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<tr>
                                <td class="text" width="20%">凭证号</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text" style="width:100px;" ng-model="gzwjryrqxk.editRow.pzh1" class="zs-input" required/>许受理
                                	&nbsp;字[<input type="text" style="width:50px;" ng-model="gzwjryrqxk.editRow.pzh2" class="zs-input" required/>]
                                	第<input type="text" style="width:30px;" ng-model="gzwjryrqxk.editRow.pzh3" class="zs-input" required/>号
                                </td>
                            </tr>
                            <td class="text" width="20%">单位名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sdwmc" class="zs-input" />
                                </td>
          					<tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sxmmc" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">申请时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.sqsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">受理时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.slsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                	<div style="text-align:center">
	                                    <input type="button" name="ok" value="打印" class="zs-btn c-red"
	                                        ng-click="formValidate(form) && printXKPZ('gzwjryrqxk', 'xzxkpz.html', 'HtmlToPdf', gzwjryrqxk.editRow, '行政许可凭证.pdf', closeWindow('xzxkpz'))"/>
	                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
	                                        ng-click="closeWindow('xzxkpz')" />
	                                </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
        
        <div ag-Window id="xzxkjds" title="打印行政许可决定书" width='800px' height='500px'>
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
          					<tr>
                                <td class="text" width="20%">凭证号</td>
                                <td class="left" width="30%" colspan="3">
                                	<input type="text"style="width:100px;" ng-model="gzwjryrqxk.editRow.pzh1" class="zs-input" required/>许受理
                                	&nbsp;字[<input type="text" style="width:50px;" ng-model="gzwjryrqxk.editRow.pzh2" class="zs-input" required/>]
                                	第<input type="text" style="width:30px;" ng-model="gzwjryrqxk.editRow.pzh3" class="zs-input" required/>号
                                </td>
                            </tr>
                            <td class="text" width="20%">单位名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sdwmc" class="zs-input" />
                                </td>
          					<tr>
                                <td class="text" width="20%">项目名称</td>
                                <td class="left" width="30%" colspan="3">
                                	<input readonly="true" type="text" ng-model="gzwjryrqxk.editRow.sxmmc" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">申请时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.sqsj" >
							   		</ag-Datebox>
                                </td>
                                <td class="text" width="20%">受理时间</td>
                                <td class="left" width="30%">
                                	<ag-Datebox id='fi_dbmspsj'  showcurday='true'
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.slsj" >
							   		</ag-Datebox>
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">审查范围</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.scfw" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">依据</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.yju" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">决定注意事项1</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.zysx1" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">决定注意事项2</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.zysx2" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">决定注意事项3</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.zysx3" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">决定注意事项4</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.zysx4" class="zs-input" />
                                </td>
                            </tr>
                            <tr>
                                <td class="text" width="20%">决定注意事项5</td>
                                <td class="left" width="30%" colspan="3">
                                	<input style="height:100px" type="text" ng-model="gzwjryrqxk.editRow.zysx5" class="zs-input" />
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                	<div style="text-align:center">
	                                    <input type="button" name="ok" value="打印" class="zs-btn c-red"
	                                        ng-click="formValidate(form) && printXKJDS('gzwjryrqxk', 'xzxkjds.html', 'HtmlToPdf', gzwjryrqxk.editRow, '准予行政许可决定书.pdf', closeWindow('xzxkjds'))"/>
	                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
	                                        ng-click="closeWindow('xzxkjds')" />
	                                </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
        
        <div ag-Window id="xzxkbjbg" title="打印行政许可办结报告" width="800px" height="500px">
            <div class="zs-form-tab ibox">
                <form name="form" novalidate>
                    <table width="100%">
                        <tbody>
                        	<tr>
							    <td class="text" rowspan="4">申请人</td>
							    <td class="text" >单位名称</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.sdwmc" class="zs-input" />
							   	</td>
							    <td class="text" >法定代表人</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.fddbr" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >住址</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.zhuz" class="zs-input" />
							    </td>
							    <td class="text" >电话</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.dbrdh" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >姓名</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.name" class="zs-input" />
							    </td>
							    <td class="text" >身份证号码</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.sfz" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >所在单位</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.szdw" class="zs-input" />
							    </td>
							    <td class="text" >电话</td>
							    <td class="left">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.dwdh" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >行政许可事项</td>
							    <td class="left" colspan="4">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.xzxksx" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >办理内容</td>
							    <td class="left" colspan="4">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.blnr" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >行政许可文书文号</td>
							    <td class="left" colspan="2">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.wswh" class="zs-input" />
							    </td>
							    <td class="text" >发文日期</td>
							    <td class="left">
							    	<ag-Datebox id="fi_dbmspsj" editable="false" showcurday="true"
		                        		class="zs-input" style="width:175px;height: 28px"
		                        		ng-model="gzwjryrqxk.editRow.fwrq" >
							   		</ag-Datebox>
							    </td>
							</tr>
							<tr>
							    <td class="text" >审查情况、理由及决定内容</td>
							    <td class="left" colspan="4">
							    	<input type="text" style="height:200px;" ng-model="gzwjryrqxk.editRow.scqk" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >办结方式</td>
							    <td class="left" colspan="4">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.bjfs" class="zs-input" />
							    </td>
							</tr>
							<tr>
							    <td class="text" >执行情况</td>
							    <td class="left" colspan="4">
							    	<input type="text" ng-model="gzwjryrqxk.editRow.zxqk" class="zs-input" />
							    </td>
							</tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                	<div style="text-align:center">
	                                    <input type="button" name="ok" value="打印" class="zs-btn c-red"
	                                        ng-click="formValidate(form) && printXKBJBG('gzwjryrqxk', 'xzxkbjbg.html', 'HtmlToPdf', gzwjryrqxk.editRow, '行政许可办结报告.pdf', closeWindow('xzxkbjbg'))"/>
	                                    <input type="button" name="ok" value="取消" class="zs-btn c-green" 
	                                        ng-click="closeWindow('xzxkbjbg')" />
	                                </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </form>
            </div>
        </div>
        
        <div ag-Window id="chooseProject" title="选择项目" width='560px' height='360px'>
		    <div class="zs-form-tab ibox"
		    	data-ng-init="formInit('gzprojectinfo', {
			        keyField:'id',
			        randomFields:['id'],
			        orderObject:{id:0}
			    }) && loadData('gzprojectinfo');setConHei();">
		        <div class="zs-nice-tab idTabs">
					<div class="tool item" style="margin-left:6px;">
		            	<span class="search-warpper">
		                    <i class="icon"></i>
		                    <input type="text" class="zs-input" placeholder="项目名称" ng-model="gzprojectinfo.queryObject['sxmmc']"/>
		                </span>
		            	<span class="search-warpper">
		                    <i class="icon"></i>
		                    <input type="text" class="zs-input" placeholder="项目类型" ng-model="gzprojectinfo.queryObject['sxmlx']"/>
		                </span>
		            </div>
		            <div class="operation item">
		                <a class="ope-1" ng-click="loadData('gzprojectinfo')"></a>
		                <a class="ope-2"></a>
		            </div>
		            <div class="switch">
		                
		            </div>
		        </div>
		        <div class="date-container">
		            <div id="zpgwd">
		                <div class="zs-data-table">
		                    <div class="container">
		                        <table>
		                            <thead>
		                                <tr>
											<th>项目名称</th>
											<th>项目编号</th>
											<th>项目类型</th>
		                                </tr>
		                            </thead>
		                            <tbody>
		                                <tr ng-repeat="r in gzprojectinfo.datas">
											<!--  项目名称 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzwjryrqxk.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmmc"></label>
		                                        </a>
		                                   </td>
		                                   <!--  项目编号 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzwjryrqxk.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmbh"></label>
		                                        </a>
		                                   </td>
											<!--  项目类型 -->
		            						<td>
		                                        <a ng-click="chooseProject(gzwjryrqxk.editRow,r,'chooseProject');">
		                                            <label ng-bind="r.sxmlx"></label>
		                                        </a>
		                                   </td>
		                                </tr>
		                            </tbody>
		                        </table>
		                    </div>
		                </div>
		                <div class="zs-pagination-box">
		                    <ag-Page fn='gzprojectinfo'></ag-Page>
		                </div>
		            </div>
		        </div>
		    </div>
		</div>
    </div>
</div>